package com.yanqu.road.entity.log.yqhotel;


import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_yq_hotel_event",autoSave = true,eventName = "yangqu_event",dataUpload = true,uploadCk = true,desc = "阳泉酒家事件日志")
public class LogYqHotelEvent extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "活动id",isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家id",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "建筑id",dataAttribute = "mouwater_build")
    private int buildingId;
    @FieldTypeAnnotation(desc = "事件id",dataAttribute = "event_id")
    private int eventId;
    @FieldTypeAnnotation(desc = "奖励",dataAttribute = "item_get")
    private String reward;
    @FieldTypeAnnotation(desc = "生成时间",dataAttribute = "begin_time")
    private long eventTime;
    @FieldTypeAnnotation(desc = "处理时间")
    private long dealTime;

    public LogYqHotelEvent(int activityId, long userId, int buildingId, int eventId, String reward, long eventTime, long dealTime) {
        this.activityId = activityId;
        this.userId = userId;
        this.buildingId = buildingId;
        this.eventId = eventId;
        this.reward = reward;
        this.eventTime = eventTime;
        this.dealTime = dealTime;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(int buildingId) {
        this.buildingId = buildingId;
    }

    public int getEventId() {
        return eventId;
    }

    public void setEventId(int eventId) {
        this.eventId = eventId;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public long getEventTime() {
        return eventTime;
    }

    public void setEventTime(long eventTime) {
        this.eventTime = eventTime;
    }

    public long getDealTime() {
        return dealTime;
    }

    public void setDealTime(long dealTime) {
        this.dealTime = dealTime;
    }
}
